﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;

namespace FeedReader.Shared.Data
{
    public class LogDataModel :TableServiceEntity
    {
        public LogDataModel(string partitionKey, string rowKey)
            : base(partitionKey, rowKey)
        {
        }

        public LogDataModel(): this(Guid.NewGuid().ToString(), String.Empty)
        {
        }
        /// <summary>
        ///  The timestamp
        /// </summary>
        public DateTime DateTime { get; set; }
        /// <summary>
        ///  The Type of event that occured - eg. Error
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        ///  The Action that was in progress
        /// </summary>
        public string Action { get; set; }
        /// <summary>
        ///  The Description of the event
        /// </summary>
        public string Description { get; set; }
    }
}
